package com.oldtwo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhaoyf
 * @version 1.0
 * @date 2024/1/5 23:10
 */

@RestController
@RequestMapping("/web")
public class HelloWorld {
    @RequestMapping("/hello")
    public String world() {
        return "Hello World!";
    }
}
